package org.wlgzs.com.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
/**
 * @ProjectName: internet_campus
 * @Package: org.wlgzs.com.entity
 * @ClassName: User
 * @Description: java类作用描述
 * @Author: alj
 * @CreateDate: 2019/1/21 4:58
 * @UpdateUser: 更新者
 * @UpdateDate: 2019/1/21 4:58
 * @UpdateRemark: 更新说明
 * @Version: 1.0*/
@TableName("user")
@Data
@NoArgsConstructor(access = AccessLevel.PUBLIC)
@AllArgsConstructor(access = AccessLevel.PUBLIC)
public class User implements Serializable {

    @TableId(value="id",type=IdType.AUTO)
    private Integer id;

    /**
     *用户名
     */
    private String username;

    /**
     *密码
     */
    private String password;

    /**
     *昵称
     */
    private String name;

    /**
     *诚信积分
     */
    @TableField("integrity_points")
    private Integer integrityPoints;

    /**
     *学院
     */
    private String college;

    /**
     *专业
     */
    private String profession;

    /**
     *头像
     */
    private String image;

    /**
     *学生证照片
     */
    @TableField("student_id_photo")
    private String studentIdPhoto;

    /**
     *真实姓名
     */
    @TableField("actual_name")
    private String actualName;

    /**
     *个人签名
     */
    @TableField("personal_signature")
    private String personalSignature;

    /**
     *备注
     */
    private String remark;

    /**
     *对伴侣的要求
     */
    private String claim;

    /**
     *活动开始时间
     */
    @TableField("start_time")
    private Date startTime;

    /**
     *活动结束时间
     */
    @TableField("end_time")
    private Date endTime;

    /**
     *活动主题
     */
    @TableField("activity_theme")
    private String activityTheme;

    /**
     * QQ号
     */
    private String qq;

    /**
     *匹配者id就是User的id
     */
    @TableField("matcher_id")
    private Integer matcherId;

    /**
     *被匹配者的id就是User的id
     */
    @TableField("matched_id")
    private Integer matchedId;

    /**
     *角色
     */
    private String character;

    /**
     *匹配状态
     */
    private String status;


}